package jude.java.money.article;



public class Gathers {
	
	public static final String ARTICLE_LIBRARY_PATH = "D:\\Program Files\\虫虫软件\\虫虫营销助手\\articles-english\\";

	public static void main(String[] args) {
		gather();
	}
	
	static void gather() {
//		BaseArticleGather gather = new BaseArticleGather(Targets.targets.get(0), null, 1, 2);
		ArticleSite site = Targets.IDEAMARKETERS2;
//		site.setQuery("bags").setStartPage(0).setPageCount(10);
//		BaseArticleGather gather = new BaseArticleGather(site);
//		gather.run();
		
		site.setStartPage(90000).setPageCount(10000);
//		site.setSkipCount(840);
		CommonArticleGather gather = new CommonArticleGather(site);
		gather.setMax(10000);
		gather.run();
	}
	
	static void gather2() {
		ArticleSite site = Targets.BIZ_WHIZ;
		site.setStartPage(100).setEndPage(1000);
		CommonArticleGather gather = new CommonArticleGather(site);
//		gather.setMax(10000);
		gather.run();
	}
}
